package com.ruoyi.project.business.salaryoptions.service;

import com.ruoyi.project.business.salaryoptions.entity.SalaryOptions;
import com.ruoyi.project.business.salaryoptions.request.AddSalaryOptionsRequest;
import com.ruoyi.project.business.salaryoptions.request.ListSalaryOptionsRequest;
import com.ruoyi.project.business.salaryoptions.response.SalaryOptionsResponse;

import java.util.List;

/**
 * 薪资计算项Service接口
 * 
 * @author ${author}
 * @date 2024-02-21
 */
public interface ISalaryOptionsService {
    /**
     * 查询薪资计算项
     *
     * @param id 薪资计算项ID
     * @return 薪资计算项
     */
    public SalaryOptions selectSalaryOptionsById(Long id);

    /**
     */
    public List<SalaryOptionsResponse> selectSalaryOptionsList(ListSalaryOptionsRequest request, Long tenantId);


    List<SalaryOptions> selectSalaryOptionsByIds(List<Long> ids, Long tenantId);

    public int insertSalaryOptions(AddSalaryOptionsRequest request, Long operatorId, Long tenantId);

    /**
     * 修改薪资计算项
     * 
     * @return 结果
     */
    public int updateSalaryOptions(SalaryOptions salaryOptions, Long operatorId, Long tenantId);

    /**
     * 批量删除薪资计算项
     * 
     * @return 结果
     */
    public int deleteSalaryOptionsByIds(Long[] ids, Long operatorId, Long tenantId);

    /**
     * 删除薪资计算项信息
     * 
     * @return 结果
     */
    public int deleteSalaryOptionsById(Long id, Long operatorId, Long tenantId);
}
